<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>扩展运算符</title>
	</head>
	<body>
		<script>
			const arr = ['ab','cd','ef'];
			function fn1() {
				console.log(arguments);
			}
			fn1('x','y','z');
			fn1(...arr);
		</script>
	</body>
</html>